export default [
    // 参数管理
    {
        path: "/system/config",
        name: "ConfigList",
        meta: {
            title: "参数管理",
        },
        component: () => import("../views/system/Config/ConfigList.vue"),
    },
    {
        path: "/system/config/add",
        name: "ConfigAdd",
        meta: {
            title: "添加参数",
            showBread: true,
        },
        component: () => import("../views/system/Config/ConfigUpdate.vue"),
    },
    {
        path: "/system/config/edit",
        name: "ConfigEdit",
        meta: {
            title: "修改参数",
            showBread: true,
        },
        component: () => import("../views/system/Config/ConfigUpdate.vue"),
    },
    // 字典管理
    {
        path: "/system/dict",
        name: "DictList",
        meta: {
            title: "字典管理",
        },
        component: () => import("../views/system/Dict/DictList.vue"),
    },
    {
        path: "/system/dict/add",
        name: "DictAdd",
        meta: {
            title: "添加字典",
            showBread: true,
        },
        component: () => import("../views/system/Dict/DictUpdate.vue"),
    },
    {
        path: "/system/dict/edit",
        name: "DictEdit",
        meta: {
            title: "修改字典",
            showBread: true,
        },
        component: () => import("../views/system/Dict/DictUpdate.vue"),
    },
    // 字典成员管理
    {
        path: "/system/dict/:key/dictMember",
        name: "DictMemberList",
        meta: {
            title: "字典成员管理",
            showBread: true,
        },
        component: () => import("../views/system/DictMember/DictMemberList.vue"),
    },
    {
        path: "/system/dict/:key/dictMember/add",
        name: "DictMemberAdd",
        meta: {
            title: "添加字典成员",
            showBread: true,
        },
        component: () => import("../views/system/DictMember/DictMemberUpdate.vue"),
    },
    {
        path: "/system/dict/:key/dictMember/edit",
        name: "DictMemberEdit",
        meta: {
            title: "修改字典成员",
            showBread: true,
        },
        component: () => import("../views/system/DictMember/DictMemberUpdate.vue"),
    },
    // 菜单管理
    // 后台菜单
    {
        path: "/system/menu/backend",
        name: "BackendList",
        meta: {
            title: "后台菜单",
        },
        component: () => import("../views/system/menu/Backend/BackendList.vue"),
    },
    {
        path: "/system/menu/backend/add",
        name: "BackendAdd",
        meta: {
            title: "添加菜单",
            showBread: true,
        },
        component: () => import("../views/system/menu/Backend/BackendUpdate.vue"),
    },
    {
        path: "/system/menu/backend/edit",
        name: "BackendEdit",
        meta: {
            title: "修改菜单",
            showBread: true,
        },
        component: () => import("../views/system/menu/Backend/BackendUpdate.vue"),
    },
    // 小程序菜单
    {
        path: "/system/menu/miniProgram",
        name: "MiniProgramList",
        meta: {
            title: "小程序菜单",
        },
        component: () => import("../views/system/menu/MiniProgram/MiniProgramList.vue"),
    },
    {
        path: "/system/menu/miniProgram/add",
        name: "MiniProgramAdd",
        meta: {
            title: "添加小程序菜单",
            showBread: true,
        },
        component: () => import("../views/system/menu/MiniProgram/MiniProgramUpdate.vue"),
    },
    {
        path: "/system/menu/miniProgram/edit",
        name: "MiniProgramEdit",
        meta: {
            title: "修改小程序菜单",
            showBread: true,
        },
        component: () => import("../views/system/menu/MiniProgram/MiniProgramUpdate.vue"),
    },
    // 小程序管理
    {
        path: "/system/miniapp/authorize",
        name: "Authorize",
        meta: {
            title: "授权管理",
        },
        component: () => import("../views/system/miniapp/Authorize/Authorize.vue"),
    },
    {
        path: "/system/miniapp/draft",
        name: "DraftList",
        meta: {
            title: "草稿箱",
        },
        component: () => import("../views/system/miniapp/Draft/DraftList.vue"),
    },
    // 角色管理
    {
        path: "/system/role",
        name: "RoleList",
        meta: {
            title: "角色管理",
        },
        component: () => import("../views/system/Role/RoleList.vue"),
    },
    {
        path: "/system/role/add",
        name: "RoleAdd",
        meta: {
            title: "添加角色",
            showBread: true,
        },
        component: () => import("../views/system/Role/RoleUpdate.vue"),
    },
    {
        path: "/system/role/edit",
        name: "RoleEdit",
        meta: {
            title: "修改角色",
            showBread: true,
        },
        component: () => import("../views/system/Role/RoleUpdate.vue"),
    },
    // 登录日志管理
    {
        path: "/system/loginLog",
        name: "LoginLogList",
        meta: {
            title: "登录日志管理",
        },
        component: () => import("../views/system/LoginLog/LoginLogList.vue"),
    },
    // 操作日志管理
    {
        path: "/system/operationLog",
        name: "OperationLogList",
        meta: {
            title: "操作日志管理",
        },
        component: () => import("../views/system/OperationLog/OperationLogList.vue"),
    },
    // 违禁品管理
    {
        path: "/system/forbidden",
        name: "Forbidden",
        meta: {
            title: "违禁品管理",
        },
        component: () => import("../views/system/Forbidden/Forbidden.vue"),
    }
]